package com.lilosoft.generator;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 小峰
 * Date: 2019-08-27
 * Time: 18:24
 */
//public class MyJavaTypeResolver extends JavaTypeResolverDefaultImpl {
//    @Override
//    public FullyQualifiedJavaType calculateJavaType(IntrospectedColumn introspectedColumn) {
//        FullyQualifiedJavaType answer = super.calculateJavaType(introspectedColumn);
//        switch (introspectedColumn.getJdbcType()) {
//            case Types.DECIMAL:
//            case Types.NUMERIC:
//                answer = new FullyQualifiedJavaType(Integer.class.getName());
//                break;
//        }
//        return answer;
//    }
//}
